package com.chainshop.common.core.domain.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.chainshop.common.annotation.Excel;
import com.chainshop.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 存储店铺信息的对象 store_info
 * 
 * @author ruoyi
 * @date 2024-08-06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class StoreInfo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 店铺ID
     */
    private Integer id;

    /**
     * 店长ID
     */
    @Excel(name = "店长ID")
    private Integer managerId;

    /**
     * 店长名称
     */
    @Excel(name = "店长名称")
    private String managerName;
    /**
     * 店铺名称
     */
    @Excel(name = "店铺名称")
    private String storeName;

    /**
     * 店铺地址
     */
    @Excel(name = "店铺地址")
    private String storeAddress;

    /**
     * 店铺状态
     */
    @Excel(name = "店铺状态")
    private String storeStatus;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /**
     * 删除标记
     */
    @Excel(name = "删除标记")
    private Integer deleteFlag;

    /**
     * 更新时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedAt;
}